/*This file is part of WZLibCP.

 *  WZLibCP is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

 *  WZLibCP is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

 *  You should have received a copy of the GNU General Public License
    along with WZLibCP.  If not, see <http://www.gnu.org/licenses/>.
		
	Author: calc0000
*/
#ifndef __WZLIB_CONFIG_H
#define __WZLIB_CONFIG_H

typedef unsigned char byte;

#pragma warning(disable:4996)

#include <stdio.h>
#include <stdlib.h>

namespace WZLib{
#define ctor
#define dtor
	typedef enum _enum_ErrorCode{
		Error_NoError,
		Error_General_CannotOpenFile,
		Error_WZLib_Init_CannotInitSDL,
		Error_WZLib_Init_CannotInitMix,
		Error_WZLib_Init_CannotInitWZCrypto,
		Error_WZLib_HeaderNull,
		Error_WZLib_WZDirectory_Parse_InvalidType,
		Error_WZLib_WZFile_Parse_InvalidFilePath,
		Error_WZLib_WZImage_Parse_Error_1,
		Error_WZLib_WZImage_Parse_AlreadyParsed,
		Error_WZLib_WZSubProperty_Parse_WrongParseFunction,
		Error_WZLib_WZSubProperty_Parse_UnknownPropertyType,
		Error_WZLib_WZExtendedProperty_Parse_WrongParseFunction,
		Error_WZLib_WZPrimitiveProperty_InvalidCall,
		Error_WZLib_WZUOLProperty_Parse_WrongParseFunction,
		Error_WZLib_WZSoundProperty_Play_CannotLoadSample,
		Error_WZLib_WZSoundProperty_Play_CannotOpenDevice,
	}ErrorCode;
};

#endif